from scrapy.cmdline import execute
import sys
import os
import numpy as np

# 启动爬虫,第三个参数为爬虫name
execute(['scrapy','crawl','stock'])